import request from '@/utils/request'
// 获取园区企业列表
export const getEnterpriseList = (params) => request.get('/park/enterprise', { params })

// 添加企业
export const addEnterprise = (data) => request.post('/park/enterprise', data)

// 查询企业所属行业列表
export const getIndustryList = () => request.get('/park/industry')

// 查看企业
export const getEnterpriseDetail = (id) => request.get(`/park/enterprise/${id}`)

// 编辑企业
export const editEnterprise = (data) => request.put('/park/enterprise', data)

// 删除企业

export const deleteEnterprise = (id) => request.delete(`/park/enterprise/${id}`)

// 获取当前合同列表

export const getRentList = (id) => request.get(`/park/enterprise/rent/${id}`)
